* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Poppins;
    src: url(fonts/Poppins-Regular.ttf);
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.nav {
    width: 100%;
    height: 100vh;
    background: #333;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: -100%;
    transition: 1s;
}

.nav.active {
    left: 0;
}

.nav .banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav .nav-link {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 120px;
}


.nav-link li {
    list-style: none;
}

.nav-link li a {
    text-decoration: none;
    color: #fff;
    font-size: 2rem;
    position: 5px 10px;
    margin-bottom: 10px;
}


.main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    transition: 1s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main.active {
    left: 100%;
}

header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 40px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .toggle {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.active header .toggle {
    left: -240px;
}

.active header .toggle::before {
    background: #fff;
    transform: rotate(-45deg);
}

.active header .toggle::after {
    background: #fff;
    transform: rotate(45deg);
}


header .toggle::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #777;
    transform: translateY(-6px);
    transition: 1.5s;
}

header .toggle::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #777;
    transform: translateY(6px);
    transition: 1.5s;
}

header .btn a {
    text-decoration: none;
    padding: 10px 20px;
    background: #ff1455;
    color: #fff;
    border-radius: 4px;
}

.main .img-box {
    width: 500px;
    min-width: 500px;
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
}

.main .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.main .content {
    max-width: 700px;
    margin-left: 40px;
}

.content h2 {
    color: #777;
    line-height: 2.5rem;
    font-weight: 500;
}

.content h2 span {
    color: #2196f3;
    font-size: 3rem;
    text-transform: capitalize;
}

.content p {
    color: #777;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.content .btn {
    text-decoration: none;
    padding: 10px 20px;
    background: #2196f3;
    color: #fff;
    letter-spacing: 1px;
    border-radius: 4px;
}


.main footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 100px;
}

footer .sci li {
    list-style: none;
    display: inline-block;
}

footer .sci li a {
    color: #777;
    font-size: 1.2rem;
    padding: 2px 5px;
    transition: 0.5s;
}

footer .sci li a:hover {
    color: #2196f3
}

footer .rg {
    font-size: 0.9rem;
    color: #777;
    text-transform: capitalize;
}

footer .rg span {
    text-transform: uppercase;
    font-size: 1rem;
}



@media screen and (max-width: 991px) {
    .main {
        padding: 40px;
        flex-direction: column;
        justify-content: flex-start;
    }

    .main header,
    .main footer {
        padding: 40px;
    }
    
    .main.active header .toggle {
        left: -120px;
    }

    .main .img-box {
        width: 300px;
        min-width: 300px;
        height: 300px;
    }

    .main .content {
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 80px;
    }

    .main .content h2 span {
        font-size: 2.5rem;
    }
    

    .nav .banner {
        width: 0;
    }
    
    .nav .nav-link {
        left: 0;
        width: 100%;
        padding: 0;
        justify-content: center;
    }
}
